package cj.web.marriage.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

import cj.web.admin.domain.DataTablePage;

/**
 * 公共约会管理
 */
public class PubYH extends DataTablePage implements Serializable {

	protected Integer id;
	protected Integer userId;
	protected String userPhone;
	protected Integer objectUserId;
	protected String objectUserPhone;
	protected String appointDate;
	protected String address;
	protected String descs;
	protected Integer appointStatus;
	protected Integer deleteFlag;
	protected String createAt;
	protected String createUser;
	protected String updateAt;
	protected String updateUser;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUserPhone() {
		return userPhone;
	}
	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}
	public Integer getObjectUserId() {
		return objectUserId;
	}
	public void setObjectUserId(Integer objectUserId) {
		this.objectUserId = objectUserId;
	}
	public String getObjectUserPhone() {
		return objectUserPhone;
	}
	public void setObjectUserPhone(String objectUserPhone) {
		this.objectUserPhone = objectUserPhone;
	}
	public String getAppointDate() {
		return appointDate;
	}
	public void setAppointDate(String appointDate) {
		this.appointDate = appointDate;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getDescs() {
		return descs;
	}
	public void setDescs(String descs) {
		this.descs = descs;
	}
	public Integer getAppointStatus() {
		return appointStatus;
	}
	public void setAppointStatus(Integer appointStatus) {
		this.appointStatus = appointStatus;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result + ((address == null) ? 0 : address.hashCode());
		result = prime * result
				+ ((appointDate == null) ? 0 : appointDate.hashCode());
		result = prime * result
				+ ((appointStatus == null) ? 0 : appointStatus.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result + ((descs == null) ? 0 : descs.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result
				+ ((objectUserId == null) ? 0 : objectUserId.hashCode());
		result = prime * result
				+ ((objectUserPhone == null) ? 0 : objectUserPhone.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		result = prime * result + ((userId == null) ? 0 : userId.hashCode());
		result = prime * result
				+ ((userPhone == null) ? 0 : userPhone.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		CmpYH other = (CmpYH) obj;
		if (address == null) {
			if (other.address != null)
				return false;
		} else if (!address.equals(other.address))
			return false;
		if (appointDate == null) {
			if (other.appointDate != null)
				return false;
		} else if (!appointDate.equals(other.appointDate))
			return false;
		if (appointStatus == null) {
			if (other.appointStatus != null)
				return false;
		} else if (!appointStatus.equals(other.appointStatus))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (descs == null) {
			if (other.descs != null)
				return false;
		} else if (!descs.equals(other.descs))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (objectUserId == null) {
			if (other.objectUserId != null)
				return false;
		} else if (!objectUserId.equals(other.objectUserId))
			return false;
		if (objectUserPhone == null) {
			if (other.objectUserPhone != null)
				return false;
		} else if (!objectUserPhone.equals(other.objectUserPhone))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		if (userId == null) {
			if (other.userId != null)
				return false;
		} else if (!userId.equals(other.userId))
			return false;
		if (userPhone == null) {
			if (other.userPhone != null)
				return false;
		} else if (!userPhone.equals(other.userPhone))
			return false;
		return true;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("CmpYH [id=").append(id).append(", userId=")
				.append(userId).append(", userPhone=").append(userPhone)
				.append(", objectUserId=").append(objectUserId)
				.append(", objectUserPhone=").append(objectUserPhone)
				.append(", appointDate=").append(appointDate)
				.append(", address=").append(address).append(", descs=")
				.append(descs).append(", appointStatus=").append(appointStatus)
				.append(", deleteFlag=").append(deleteFlag)
				.append(", createAt=").append(createAt).append(", createUser=")
				.append(createUser).append(", updateAt=").append(updateAt)
				.append(", updateUser=").append(updateUser).append("]");
		return builder.toString();
	}
}